//
//  NevarByItems.h
//  lyxluyou
//
//  Created by mmyy on 15/10/17.
//  Copyright (c) 2015年 mmyy. All rights reserved.
//

#import <CoreData/CoreData.h>

@interface NevarByItems : NSManagedObject
@property (nonatomic, strong) NSString *cover_s;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSNumber *rating;
@property (nonatomic, strong) NSNumber *rating_users;
@property (nonatomic, strong) NSString *recommended_reason;
@property (nonatomic, strong) NSNumber *wish_to_go_count;
@property (nonatomic, strong) NSNumber *visited_count;
@property (nonatomic, strong) NSString *vid;
@property (nonatomic, strong) NSNumber *category;
@property (nonatomic, assign) BOOL isSearch;
+(instancetype)nevarByItemsWithDict:(NSDictionary *)dict isSearch:(BOOL)search;

+(NSArray *)getDataWithCategory:(NSNumber *)category;

+(void)removeAllDataWithCategory:(NSNumber *)category;

+(void)removeDataWithIsSearch:(BOOL)isSearch;
@end
